package net.wanho.hospital.po;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * <p>
 * 
 * </p>
 *
 * @author 汤小洋
 * @since 2023-12-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Orders对象", description="")
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty
    @TableId(value = "o_id", type = IdType.AUTO)
    private Integer oId;

    @JsonProperty
    private Integer pId;

    @JsonProperty
    private Integer dId;

    @JsonProperty
    private String oRecord;

    @JsonProperty
    private String oStart;

    @JsonProperty
    private String oEnd;

    @JsonProperty
    private Integer oState;

    @JsonProperty
    private String oDrug;

    @JsonProperty
    private String oCheck;

    @JsonProperty
    private BigDecimal oTotalPrice;

    @JsonProperty
    private Integer oPriceState;

    @JsonProperty
    private String oAdvice;

    @TableField(exist = false)
    @JsonProperty
    private String pName;

    @TableField(exist = false)
    @JsonProperty
    private String dName;

}
